home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / language / macberon.sit / MacOberon 2.4(0) / Errors.Text (.txt) < prev    next >
Encoding:
Oberon Text  |  1992-01-22  |  7.2 KB  |  199 lines

  1. Syntax10b.Scn.Fnt
  2. Syntax10.Scn.Fnt
  3. List of Oberon Error Numbers
  4. Niklaus Wirth, R
  5. gis Crelier, Michael Franz,  9.12.91
  6. 1. Incorrect use of language Oberon
  7.   0    undeclared identifier
  8.   1    multiply defined identifier
  9.   2    illegal character in number
  10.   3    illegal character in string
  11.   4    identifier does not match procedure name
  12.   5    comment not closed
  13.   9    "=" expected
  14. 10    identifier expected
  15. 12    type definition starts with incorrect symbol
  16. 13    factor starts with incorrect symbol
  17. 14    statement starts with incorrect symbol
  18. 15    declaration followed by incorrect symbol
  19. 16    MODULE expected
  20. 17    number expected
  21. 18    "." missing
  22. 19    "," missing
  23. 20    ":" missing
  24. 22    ")" missing
  25. 23    "]" missing
  26. 24    "}" missing
  27. 25    OF missing
  28. 26    THEN missing
  29. 27    DO missing
  30. 28    TO missing
  31. 29    "(" missing
  32. 33    ":=" missing
  33. 34    "," or OF expected
  34. 37    identifier expected
  35. 38    ";" missing
  36. 40    END missing
  37. 43    UNTIL missing
  38. 45    EXIT not within loop statement
  39. 47    illegally marked identifier
  40. 48    unsatisfied forward reference
  41. 49    recursive import not allowed
  42. 50    expression should be constant
  43. 51    constant not an integer
  44. 52    identifier does not denote a type
  45. 53    identifier does not denote a record type
  46. 54    result type of procedure is not a basic type
  47. 55    procedure call of a function
  48. 56    assignment to non-variable
  49. 57    pointer not bound to record or array type
  50. 58    recursive type definition
  51. 59    illegal open array parameter
  52. 60    wrong type of case label
  53. 61    inadmissible type of case label
  54. 62    case label defined more than once
  55. 63    index out of bounds
  56. 64    more actual than formal parameters
  57. 65    fewer actual than formal parameters
  58. 66    element types of actual array and formal open array differ
  59. 67    actual parameter corresponding to open array is not an array
  60. 69    parameter must be an integer constant
  61. 73    procedure must have level 0
  62. 77    object is not a record
  63. 78    dereferenced object is not a variable
  64. 79    indexed object is not a variable
  65. 80    index expression is not an integer
  66. 81    index out of specified bounds
  67. 82    indexed variable is not an array
  68. 83    undefined record field
  69. 84    dereferenced variable is not a pointer
  70. 85    guard or test type is not an extension of variable type
  71. 86    guard or testtype is not a pointer
  72. 87    guarded or tested variable is neither a pointer nor a VAR-parameter record
  73. 92    operand of IN not an integer, or not a set
  74. 93    set element type is not an integer
  75. 94    operand of & is not of type BOOLEAN
  76. 95    operand of OR is not of type BOOLEAN
  77. 96    operand not applicable to (unary) +
  78. 97    operand not applicable to (unary) -
  79. 98    operand of ~ is not of type BOOLEAN
  80. 100    incompatible operands of dyadic operator
  81. 101    operand type inapplicable to *
  82. 102    operand type inapplicable to /
  83. 103    operand type inapplicable to DIV
  84. 104    operand type inapplicable to MOD
  85. 105    operand type inapplicable to +
  86. 106    operand type inapplicable to -
  87. 107    operand type inapplicable to = or #
  88. 108    operand type inapplicable to relation
  89. 110    operand is not a type
  90. 111    operand inapplicable to (this) function
  91. 112    operand is not a variable
  92. 113    incompatible assignment
  93. 114    string too long
  94. 115    parameter discrepancy between type (or name) of variable (or forward procedure) and this procedure
  95. 116    type of variable (or forward procedure) has more parameters than this procedure
  96. 117    type of variable (or forward procedure) has fewer parameters than this procedure
  97. 118    procedure result type of variable (or of forward declaration) differs from result type of this procedure
  98. 119    assigned procedure is not global
  99. 120    type of expression following IF, WHILE, or UNTIL is not BOOLEAN
  100. 121    called object is not a procedure (or is an interrupt procedure)
  101. 122    actual VAR-parameter is not a variable
  102. 123    type of actual parameter is not identical with that of formal VAR-parameter
  103. 124    type of result expression differs from that of procedure
  104. 125    type of case expression is neither INTEGER nor CHAR
  105. 126    this expression cannot be a type or a procedure
  106. 127    illegal use of object
  107. 129    unsatisfied forward procedure
  108. 130    WITH clause does not specify a variable
  109. 131    LEN not applied to array
  110. 132    dimension in LEN too large or negative
  111. 133    procedure declaration don't match forward declaration
  112. 150    key inconsistency of imported module
  113. 151    incorrect symbol file
  114. 152    symbol file of imported module not found
  115. 153    object or symbol file not opened (disk full?)
  116. 155    generation of new symbol file not allowed
  117. 2. Limitations of implementation
  118. 200    not yet implemented
  119. 201    lower bound of set range greater than higher bound
  120. 202    set element greater  than MAX(SET) or less than 0
  121. 203    number too large
  122. 204    product too large
  123. 205    division by zero
  124. 206    sum too large
  125. 207    difference too large
  126. 208    overflow in arithmetic shift
  127. 209    case range too large
  128. 210    code too long
  129. 211    jump distance too large
  130. 213    too many cases in case statement
  131. 214    too many exit statements
  132. 215    not enough registers: simplify expression
  133. 216    not enough floating-point registers: simplify expression
  134. 217    parameter must be an integer constant
  135. 218    illegal value of parameter  (32 <= p < 256)
  136. 219    illegal value of parameter  (0 <= p < 16)
  137. 220    illegal value of parameter
  138. 222    too many pointers (either global, or in record)
  139. 223    too many record types
  140. 224    too many pointer types
  141. 225    address of pointer variable too large (move forward in text)
  142. 226    too many exported procedures (> 40)
  143. 227    too many imported modules
  144. 228    too many exported structures
  145. 229    too many nested records for import
  146. 230    too many constants (strings) in module
  147. 231    too many link table entries (external procedures)
  148. 232    too many commands in module
  149. 233    record extension hierarchy too high
  150. 235    pointer to array containing pointers not allowed
  151. 240    identifier too long
  152. 241    string too long
  153. 250    too many different variables in module
  154. 251    too many parameters (16k max)
  155. 252    too many local variables (16k max)
  156. 400    SIZE function not implemented (result is target machine dependent)
  157. 401    Toolbox CHAR data type not supported, use INTEGER instead / Toolbox does not accept REAL or LONGREAL arguments
  158. 402    Dynamic Arrays may not be passed to this type of procedure
  159. 403    Type Tests cannot be performed on untraced pointer types
  160. 404    Oberon cannot allocate storage for untraced pointer types; use the memory manager function _NewPtr instead
  161. 3. Run-time Trap Numbers
  162.   2    NIL-reference
  163.   3    Address Error
  164.   4    Illegal instruction
  165.   5    Division by zero
  166.   6    Invalid index
  167. 13    Integer overflow
  168. 14    Floating-point overflow
  169. 16    Invalid case in CASE statement
  170. 17    Function procedure without RETURN statement
  171. 18    Type guard check
  172. 19    Implied type guard check in record assignment
  173. 20    Macintosh File System error (check OSErr code)
  174. 21    Too many files open
  175. 22    Non-maskable Interrupt
  176. 23    Out of heap space
  177. 24    Dynamic array value parameter too big (2k Max)
  178. 25    Null bytes to SYSTEM.MOVE
  179. 30 - 255    Programmed HALT
  180. 4. Macintosh OS Error Codes
  181. -19    Read error
  182. -20    Write error
  183. -33    Directory full
  184. -34    Disk full
  185. -35    No such volume
  186. -36    Disk I/O error
  187. -37    Bad name
  188. -38    File not open
  189. -39    End of file
  190. -40    Tried to position to before start of file
  191. -41    Memory full or file won't fit
  192. -42    Too many files open
  193. -43    File not found
  194. -44    Disk is write protected
  195. -45    File is locked
  196. -46    Volume is locked
  197. -47    File busy
  198. -48    Duplicate file name
  199.